package com.itheima.prep;

public class MyThread extends Thread{
    public MyThread(String name) {
        super(name);
    }

    public MyThread() {
    }

    public void run(){
        for (int i = 0; i < 100; i++) {
            System.out.println("线程执行了:"+i);
        }
    }
}
